package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章对象 article
 *
 * @author ruoyi
 * @date 2021-04-09
 */
public class Article extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long departId;

    /** 所属分组 */
    @Excel(name = "所属分组")
    private String departName;

    /** 关键词 */
    @Excel(name = "关键词")
    private String keyword;

    /** 回复消息 */
    @Excel(name = "回复消息")
    private String message;

    /** 回复图文消息 */
    private String newsMediaid;

    /** 图文消息概述 */
    @Excel(name = "图文消息概述")
    private String newsDesc;

    /** 图文消息封面图片 */
    @Excel(name = "图文消息封面图片")
    private String newsPicurl;

    /** 图文消息标题 */
    @Excel(name = "图文消息标题")
    private String newsTitle;

    /** 图文消息url */
    @Excel(name = "图文消息url")
    private String newsUrl;

    /** 回复非图文消息类型 */
    private String type;

    /** 回复非图文消息 */
    private String filesMediaid;

    /** 图文非消息概述 */
    @Excel(name = "非图文消息概述")
    private String filesDesc;

    /** 图文非消息封面图片 */
    @Excel(name = "非图文消息封面图片")
    private String filesPicurl;

    /** 非图文消息标题 */
    @Excel(name = "非图文消息标题")
    private String filesTitle;

    /** 非图文消息url */
    @Excel(name = "非图文消息url")
    private String filesUrl;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDepartId(Long departId)
    {
        this.departId = departId;
    }

    public Long getDepartId()
    {
        return departId;
    }
    public void setDepartName(String departName)
    {
        this.departName = departName;
    }

    public String getDepartName()
    {
        return departName;
    }
    public void setKeyword(String keyword)
    {
        this.keyword = keyword;
    }

    public String getKeyword()
    {
        return keyword;
    }
    public void setMessage(String message)
    {
        this.message = message;
    }

    public String getMessage()
    {
        return message;
    }

    public String getNewsMediaid() {
        return newsMediaid;
    }

    public void setNewsMediaid(String newsMediaid) {
        this.newsMediaid = newsMediaid;
    }

    public String getNewsDesc() {
        return newsDesc;
    }

    public void setNewsDesc(String newsDesc) {
        this.newsDesc = newsDesc;
    }

    public String getNewsPicurl() {
        return newsPicurl;
    }

    public void setNewsPicurl(String newsPicurl) {
        this.newsPicurl = newsPicurl;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewsUrl() {
        return newsUrl;
    }

    public void setNewsUrl(String newsUrl) {
        this.newsUrl = newsUrl;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("departId", getDepartId())
            .append("departName", getDepartName())
            .append("keyword", getKeyword())
            .append("message", getMessage())
            .append("newsMediaid", getNewsMediaid())
            .append("newsDesc", getNewsDesc())
            .append("newsPicurl", getNewsPicurl())
            .append("newsTitle", getNewsTitle())
            .append("newsUrl", getNewsUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFilesMediaid() {
        return filesMediaid;
    }

    public void setFilesMediaid(String filesMediaid) {
        this.filesMediaid = filesMediaid;
    }

    public String getFilesDesc() {
        return filesDesc;
    }

    public void setFilesDesc(String filesDesc) {
        this.filesDesc = filesDesc;
    }

    public String getFilesPicurl() {
        return filesPicurl;
    }

    public void setFilesPicurl(String filesPicurl) {
        this.filesPicurl = filesPicurl;
    }

    public String getFilesTitle() {
        return filesTitle;
    }

    public void setFilesTitle(String filesTitle) {
        this.filesTitle = filesTitle;
    }

    public String getFilesUrl() {
        return filesUrl;
    }

    public void setFilesUrl(String filesUrl) {
        this.filesUrl = filesUrl;
    }
}
